// [PackageDev] target_format: plist, ext: tmLanguage
    { "name": "Microsoft Small Basic",
  "scopeName": "source.smallbasic",
  "fileTypes": ["smallbasic"],
  "uuid": "4064fdd1-41cd-40e6-bd4e-2dc7a1bbcfcf",
  "foldingStartMarker": "\\b(While|For|If|Sub)\\b",
  "foldingStopMarker": "\\b(EndWhile|EndFor|EndIf|EndSub)\\b",

  "patterns": [
    {
      "name": "keyword.control.smallbasic",
      "match": "\\b(While|For|If|EndWhile|EndFor|EndIf|EndSub|Goto|Step|To|Else|ElseIf|Then)\\b"
    },
    {  "name": "constant.numeric.smallbasic",
       "match": "([0-9])+"
    },
    { 
     "begin": "'",
      "beginCaptures": {
          "0": { "name": "punctuation.define.comment.smallbasic" }
      },
      "end": "\\n",
      "name": "comment.line.single-quotes.smallbasic"
    },
    {  "name": "keyword.operator.smallbasic",
       "match": "(\\+|AND|OR|-|\\*|/|-|\\>|\\<|=)"
    },
    { 
     "captures": {
       "2": { "name": "punctuation.separator.method.smallbasic"}
      },
       "match": "(Array|Clock|Controls|Desktop|Dictionary|File|Flickr|GraphicsWindow|ImageList|Math|Mouse|Network|Program|Shapes|Sound|Stack|TextWindow|Text|Timer|Turtle)(\\.)([a-zA-Z]*)",
       "name": "support.function.smallbasic"
    },
    {
     "begin": "\"",
      "beginCaptures": {
          "0": { "name": "punctuation.string.quoted.double.smallbasic" }
      },
      "end": "\"",
      "endCaptures": {
          "0": { "name": "punctuation.string.quoted.double.smallbasic" }
      },
      "name": "string.quoted.double.smallbasic"
    },
    {  "name": "keyword.control.smallbasic",
       "match": "\\bSub\\b(\\s)([a-zA-Z]*)",
       "captures": {
           "1": { "name": "source.smallbasic" },
           "2": { "name": "support.function.smallbasic" }
       }
    },
       {  
         "match": "([a-zA-Z]*)(\\(\\))",
          "captures": {
              "1": { "name": "support.function.smallbasic" },
              "2": { "name": "source.smallbasic" }
          }
       }
  ]
}